# -*- coding:utf-8 -*-
"""
Author：Administrator
Date:2021年09月02日
"""
import numpy as np

# a = np.array([1,2,3,4,5,6])
# print(a)
#
# b = np.array([[1,2,3],[4, 5, 6]])
# print(b.shape)
# print(b.ndim)
# print(b.size)
# print(b.dtype)
#
# c = np.ones((3, 3))
# print(c)

# d = np.ones((2, 3, 3), dtype='int32')
# print(d)
# print(d.shape)
# print(d.ndim)
# print(d.size)
# print(d.dtype)

# e = np.array([[0, 1, 2], [3, 4, 5]])
# f = np.ones_like(e)
# g = np.zeros_like(e)
# h = np.full_like(e,520)
# print(f)
# print(g)
# print(h)

# 使用random模块生成随机数组
# i = np.random.randn()
# print(i)
#
# j = np.random.randn(3)
# print(j)
#
# k = np.random.randn(3,3)
# print(k)

l = np.random.randn(2,3,3)
print(l)







